from zope import schema
from zope.interface import Interface

from zope.app.container.constraints import contains
from zope.app.container.constraints import containers

from polygonstudio.marvin import marvinMessageFactory as _

class IMovie(Interface):
    """A contenttype for movie information"""
    
    # -*- schema definition goes here -*-
    type = schema.TextLine(
        title=_(u"Type"),
        description=_(u""),
        required=False
    )

    tmdbId = schema.TextLine(
        title=_(u"TMDb.org ID"), 
        required=False,
        description=_(u"Field description"),
    )

    image = schema.Bytes(
        title=_(u"Movie Poster"), 
        required=False,
        description=_(u"Please upload a movie poster"),
    )

